package com.fang.mmy.entity;

import java.util.Arrays;
import java.util.Date;

/**
 * @ClassName User
 * @Author kebukeyi
 * @Date 2022/8/9 17:05
 * @Description
 * @Version 1.0.0
 */
public class User {

    //主键id
    private String id;
    // 唯一 认证 id
    private String bid;
    //平台通行证
    private String passport;
    //真实姓名
    private String name;
    //年龄
    private int age;
    //性别：1男 2女 3未知
    private short gender;
    //所属角色：["13","34","45","35"]
    private String roles;
    // 北京 深圳 上海
    private String city;
    // 存房cf  经纪云jjy  家居云 jjy
    private String platform;
    //电话
    private String telephone;
    //门店地址
    private String address;
    //
    private int state;
    //
    private Date updateTime;
    //
    private Date createTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public short getGender() {
        return gender;
    }

    public void setGender(short gender) {
        this.gender = gender;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", bid='" + bid + '\'' +
                ", passport='" + passport + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender=" + gender +
                ", roles=" + (roles) +
                ", city='" + city + '\'' +
                ", platform='" + platform + '\'' +
                ", telephone='" + telephone + '\'' +
                ", address='" + address + '\'' +
                ", state=" + state +
                ", updateTime=" + updateTime +
                ", createTime=" + createTime +
                '}';
    }
}
